package com.ckzp.jfinal.system.route;

import com.ckzp.core.ConfigUtil;
import com.ckzp.jfinal.system.controller.IndexController;
import com.ckzp.jfinal.system.controller.LoginController;
import com.jfinal.config.Routes;

/**
 * Created by 51594 on 2022/7/28.
 */
public class CommRoutes extends Routes {
    public static String ADMIN_PATH = ConfigUtil.getWebAdminPath();

    public void config() {
        setBaseViewPath("/WEB-INF/resource/pages/");
        add(ADMIN_PATH + "/index", IndexController.class);
        add(ADMIN_PATH + "/login", LoginController.class);


    }
}
